home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / e / kyz_obj.lha / test / catalog / makefile < prev    next >
Makefile  |  1998-09-03  |  597b  |  28 lines

  1. include ../../../make-defs
  2. #
  3. #EC = ec OPTI QUIET
  4. #CAT = FlexCat NOBEEP
  5.  
  6. FILES=helloworld_test catalogs/français/helloworld.catalog
  7.  
  8. all: $(FILES)
  9. clean:;    $(RM) $(FILES) *.m helloworld.e
  10.  
  11. #-------------------------
  12.  
  13. # generate actual code for the helloworld catalog
  14. helloworld.e: helloworld.cd E.sd
  15.     $(CAT) $< $@=E.sd
  16.  
  17. # compile the generated catalog code
  18. helloworld.m: helloworld.e catalog.m
  19.     $(EC) $<
  20.  
  21. # make the main test program itself
  22. helloworld_test: helloworld_test.e helloworld.m
  23.     $(EC) $<
  24.  
  25. # generate real catalog from the .ct (and .cd) file
  26. %.catalog: %.ct
  27.     $(CAT) $(*F).cd $< catalog $@
  28.